package com.wofish.goods.domain;


import com.wofish.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

/**
 * 商品规格表 wf_b2c_specification
 *
 * @author wofish
 * @date 2019-04-13
 */
@ApiModel("规格实体")
@Data
public class Specification extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 规格id
     */
    @ApiModelProperty("规格id")
    private Long specId;
    /**
     * 规格名称
     */
    @ApiModelProperty("规格id")
    private String specName;
    /**
     * 显示方式'select'(0),'flat'(1)
     */
    private Integer specShowType;
    /**
     * 类型'text'(0-默认),'image'(1)
     */
    private Integer specType;
    /**
     * 规格备注
     */
    private String specMemo;
    /**
     * 排序
     */
    private Integer orderNum;
    /**
     * 'true'（1）,'false'(0-默认)
     */
    private Integer disabled;
    /**
     * 规格别名
     */
    private String alias;
    /**
     * 创建者
     */
    private String createBy;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新者
     */
    private String updateBy;
    /**
     * 更新时间
     */
    private Date updateTime;

    private List<SpecValues> specValuesList;

    private String specValues;
}
